import Vue from 'vue'
import Router from 'vue-router'
import WorkView from "@/view/WorkView";
const DataSource =()=>import("@/view/DataSource")
const ModelManager=()=>import("@/view/ModelManager")

Vue.use(Router)

export default new Router({
    routes: [
        {
            path: '/',
            name: '首页',
            component: WorkView
        },
        {
            path: '/DataSource',
            name: '数据源管理',
            component: DataSource
        },
        {
            path: '/ModelManager',
            name: '模型管理',
            component: ModelManager
        },
    ]
})
